home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
msj
/
v07n02
/
netbios.exe
/
TEST.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-03-01
|
229 b
|
20 lines
#include <stdio.h>
#include <conio.h>
int main ()
{
int ch;
do {
ch = getch();
putch(ch); putch ('\r'); putch ('\n');
printf("%x\n", ch);
if (ch==0x1b)
printf("Foo\n");
} while (ch != 0x1a);
}